package cn.com.dycc.study_manage.integral.service;

import javax.servlet.http.HttpServletRequest;

import cn.com.dycc.study_manage.integral.param.Pb_Integral_RuleParam;
import cn.com.dycc.util.JsonObjectResult;

public interface Pb_Integral_RuleService {
	
	/**
	 * 新增积分规则信息
	 * @param param 积分规则信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Integral_RuleNotFoundException
	 */
	public int addPb_Integral_Rule(Pb_Integral_RuleParam param,HttpServletRequest request) throws Pb_Integral_RuleNotFoundException;
	
	
	/**
	 * 修改积分规则信息
	 * @param param 积分规则信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Integral_RuleNotFoundException
	 */
	public int updatePb_Integral_Rule(Pb_Integral_RuleParam param,HttpServletRequest request)throws Pb_Integral_RuleNotFoundException;
	
	/**
	 * 查询积分规则信息
	 * @param param 积分规则信息参数
	 * @param request 请求响应对象
	 * @return
	 * @throws Pb_Integral_RuleNotFoundException
	 */
	public JsonObjectResult findPb_Integral_RuleByParam(Pb_Integral_RuleParam param,HttpServletRequest request) throws Pb_Integral_RuleNotFoundException;

}
